package com.example.newland.application;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.nle.mylibrary.claimer.rfid.SingleEpcListener;
import com.nle.mylibrary.databus.DataBus;
import com.nle.mylibrary.databus.DataBusFactory;
import com.nle.mylibrary.databus.ReciveData;
import com.nle.mylibrary.device.RFID;

public class TwoActivity extends AppCompatActivity implements View.OnClickListener {

    private ImageView two_iv_setting;
    private Intent intent;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_two);

        two_iv_setting = findViewById(R.id.two_iv_setting);

        two_iv_setting.setOnClickListener(this);


    }

    @Override
    public void onClick(View view) {
        switch(view.getId()){
            case R.id.two_iv_setting:
                intent = new Intent(TwoActivity.this,MainActivity.class);
                startActivity(intent);
                break;
        }
    }
}
